package test;

import java.util.Scanner;

public class Homework3 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        add(a,b);
        sub(a,b);
        mul(a,b);
        div(a,b);
    }
    public static void add(int a,int b){
        System.out.println(a + b);
    }
    public static void sub(int a,int b){
        System.out.println(a - b);
    }
    public static void mul(int a,int b){
        System.out.println(a * b);
    }
    public static void div(int a,int b){
        System.out.println(a / b);
    }
}
